package com.tony.jdbctemplate.service;

import com.tony.jdbctemplate.entity.Student;

import java.util.List;
import java.util.Map;

/**
 * create by xuxia on 2024/2/6 08:54
 */
public interface StudentService {

    int addStudent(Student student);

    int updateStudent(Student student);

    int deleteStudent(String sno);

    List<Map<String, Object>> queryAllStudentsOfMap();

    List<Student> queryAllStudentsOfBean();

    Student queryStudent(String sno);
}
